<?php

namespace app\common\service;

class Order
{
    /**
     * 生成订单号
     * @return string
     */
    public static function orderSn()
    {
        return date('YmdHis') . str_pad(mt_rand(1, 999999), 5, '0', STR_PAD_LEFT);
    }

   
}